import axios from '../../../utils/http.js'
export async function getData(currentPage, pageSize, filter) {
  const {
    data
  } = await axios.post('/class/classStuPageData', {
    currentPage: currentPage,
    filter: filter,
    pageSize: pageSize
  })
  return data
}

export async function getListData() {
  const {
    data
  } = await axios.get('/bac/college/departmentList')
  return data
}

export async function getListDataNew() {
  const {
    data
  } = await axios.get('/bac/major/getMajorList')
  return data
}

export async function getListDataNewOne() {
  const {
    data
  } = await axios.get('/bac/class/getClassList')
  return data
}

export async function putStatus(props) {
  const {
    data
  } = await axios.put('/class/classStudentStatus', props)
  return data
}
